﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class PhongChieuDTO
    {
        private string m_TenPhongChieu;

        public string TenPhongChieu
        {
            get { return m_TenPhongChieu; }
            set { m_TenPhongChieu = value; }
        }
        private int m_DaXoa;
        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        private int m_MaPhongChieu;
        public int MaPhongChieu
        {
            get { return m_MaPhongChieu; }
            set { m_MaPhongChieu = value; }
        }

        private int m_MaRap;
        public int MaRap
        {
            get { return m_MaRap; }
            set { m_MaRap = value; }
        }

        private string m_TenRap;
        public string TenRap
        {
            get { return m_TenRap; }
            set { m_TenRap = value; }
        }

        private int m_SoHangGhe;
        public int SoHangGhe
        {
            get { return m_SoHangGhe; }
            set { m_SoHangGhe = value; }
        }

        private int m_SoDayGhe;
        public int SoDayGhe
        {
            get { return m_SoDayGhe; }
            set { m_SoDayGhe = value; }
        }

        private string m_MoTa;
        public string MoTa
        {
            get { return m_MoTa; }
            set { m_MoTa = value; }
        }

        private int m_MaLoaiKyThuat;
        public int MaLoaiKyThuat
        {
            get { return m_MaLoaiKyThuat; }
            set { m_MaLoaiKyThuat = value; }
        }

        private string m_TenLoaiKyThuat;
        public string TenLoaiKyThuat
        {
            get { return m_TenLoaiKyThuat; }
            set { m_TenLoaiKyThuat = value; }
        }

        private int m_MaTinhTrangPhongChieu;
        public int MaTinhTrangPhongChieu
        {
            get { return m_MaTinhTrangPhongChieu; }
            set { m_MaTinhTrangPhongChieu = value; }
        }

        private string m_TenTinhTrangPhongChieu;
        public string TenTinhTrangPhongChieu
        {
            get { return m_TenTinhTrangPhongChieu; }
            set { m_TenTinhTrangPhongChieu = value; }
        }

        public PhongChieuDTO() { }

        public PhongChieuDTO(int _MaPhongChieu ,int _MaRap,int _SoHangGhe ,
            int _SoDayGhe,string _MoTa,int _MaLoaiKyThuat,int _MaTinhTrangPhongChieu,string _TenPhongChieu)
        {
            MaPhongChieu = _MaPhongChieu;
            MaRap = _MaRap;
            SoHangGhe = _SoHangGhe;
            SoDayGhe = _SoDayGhe;
            MoTa = _MoTa;
            MaLoaiKyThuat = _MaLoaiKyThuat;
            MaTinhTrangPhongChieu = _MaTinhTrangPhongChieu;
            TenPhongChieu = _TenPhongChieu;
        }

        public PhongChieuDTO(PhongChieuDTO PC)
        {
            MaPhongChieu = PC.MaPhongChieu;
            MaRap = PC.MaRap;
            SoHangGhe = PC.SoHangGhe;
            SoDayGhe = PC.SoDayGhe;
            MoTa = PC.MoTa;
            MaLoaiKyThuat = PC.MaLoaiKyThuat;
            MaTinhTrangPhongChieu = PC.MaTinhTrangPhongChieu;
            TenPhongChieu = PC.TenPhongChieu;
        }
    }
}
